package com.bgrc.hubu12305.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 包名:com.bgrc.hubu12305.entity
 * 用户:86182
 * 时间:20211215:422021/12/15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("车次信息")
@TableName("t_train_info")
public class TrainInfoEntity implements Serializable {

    @TableId
    @ApiModelProperty("列车编号")
    private String trainNo;

    @ApiModelProperty("车次")
    private String trainNumber;

    @ApiModelProperty("车厢数")
    private Integer trainCarriages;

    @ApiModelProperty("起始站")
    private String trainStartStation;

    @ApiModelProperty("终点站")
    private String trainEndStation;

    @ApiModelProperty("起始站发车时间")
    private String trainStartTime;

    @ApiModelProperty("终点站到站时间")
    private String trainEndTime;

    @TableLogic
    @ApiModelProperty("列车是否停用")
    private boolean isStop;
}
